package cn.gene.timeyan.pojo.search.entity;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 对应搜索的文档*
 *
 * @author LWG
 * @date 2022/7/21 21:42
 * @since 1.0.0@gene.cn
 */
@Data
@Document(indexName = "timeyan_cooperation_index2")
@ApiModel(value="对应搜索的文档entity")
public class CooperationForElastic implements Serializable {
    /*没有具体的表，选择相对应的表的字段*/
    private String articleTitle;
    private String articleContent;

}
